package com.example.api.dao;

import com.example.api.model.entity.Driver;

import java.util.List;

public interface DriverDao {

    int deleteByPrimaryKey(Integer id);

    int insert(Driver record);

    int insertSelective(Driver record);

    Driver selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Driver record);

    int updateByPrimaryKey(Driver record);

    List<Driver> findAll(String name);

}